import { request } from "@/utils/request"
import type { UserIndividualType } from "@/types/userInfo"
// 获取个人信息
export const getIndividualApi = () => {
  return request<UserIndividualType>('/v1_0/user/profile'
  )
}
// 修改图片
export const updatePhotolApi = (data: FormData) => {
  return request<{photo: string}>('/v1_0/user/photo','PATCH',data
  )
}

